home *** CD-ROM | disk | FTP | other *** search
/ LG Super CD / LG Super CD.iso / bitpim / bitpim-1.0.5-setup.exe / {app} / resources / memo.xy < prev    next >
Encoding:
Text File  |  2008-01-28  |  712 b   |  35 lines

  1. <html>
  2. <!--
  3. <py-line code="Id=''"/>
  4. $Id: memo.xy 4206 2007-04-27 20:19:34Z djpham $
  5.  
  6. Need to pass in the following data:
  7. dns['items']=a dict of memo.MemoEntry
  8. dns['keys']=a list of (sorted) keys of dns['memoitems']
  9. -->
  10.  
  11. <head></head>
  12. <body>
  13.  
  14. <py-open code="for k in keys:"/>
  15. <py-line code="_memo=items[k]"/>
  16.  
  17. <p>
  18. <py-open code="if _memo.date:"/>
  19. <b>Date:</b> ${_memo.date}<br/>
  20. <py-close/>
  21. <py-open code="if _memo.categories:"/>
  22. <py-line code="_catstr=','.join([x['category'] for x in _memo.categories])"/>
  23. <b>Categories:</b> ${_catstr}<br/>
  24. <py-close/>
  25. <py-open code="if _memo.subject:"/>
  26. <b>Subject:</b> ${_memo.subject}<br/>
  27. <py-close/>
  28. <b>Text:</b> ${_memo.text}<br/>
  29.  
  30. </p><br/>
  31. <py-close/>
  32.  
  33. </body>
  34. </html>
  35.